<div class="col-md-12">
    <div class="col-md-10">
        <switch name="field.type">
            <case value="text">
                <include file="../application/admin/view/Builder/components/key_text.html" />
            </case>
            <case value="hidden">
                <include file="../application/admin/view/Builder/components/key_hidden.html" />
            </case>
            <case value="readonly">
                <include file="../application/admin/view/Builder/components/key_readonly.html" />
            </case>
            <case value="select">
                <include file="../application/admin/view/Builder/components/key_select.html" />
            </case>
            <case value="radio">
                <include file="../application/admin/view/Builder/components/key_radio.html" />
            </case>
            <case value="checkbox">
                <include file="../application/admin/view/Builder/components/key_checkbox.html" />
            </case>
            <case value="editor">
                <include file="../application/admin/view/Builder/components/key_editor.html" />
            </case>
            <case value="textarea">
                <include file="../application/admin/view/Builder/components/key_textarea.html" />
            </case>
            <case value="datetime">
                <include file="../application/admin/view/Builder/components/key_datetime.html" />
            </case>
            <case value="singleFile">
                <include file="../application/admin/view/Builder/components/key_singlefile.html" />
            </case>
            <case value="singleImage">
                <include file="../application/admin/view/Builder/components/key_singleimage.html" />
            </case>
            <case value="img">
                <include file="../application/admin/view/Builder/components/key_img.html" />
            </case>
            <case value="password">
                <include file="../application/admin/view/Builder/components/key_password.html" />
            </case>
            <case value="hiddenUploadFileSize">
                <include file="../application/admin/view/Builder/components/key_filesize.html" />
            </case>
            <case value="hiddenUploadImageSize">
                <include file="../application/admin/view/Builder/components/key_imagesize.html" />
            </case>
            <case value="welcome">
                <include file="../application/admin/view/Builder/components/key_welcome.html" />
            </case>
            <default/>
            <span style="color: #f00;">{:lang("_ERROR_")}{:lang("_COLON_")}{:lang("_UNKNOWN_FIELD_TYPE_")}{$field.type}</span>
            <input type="hidden" name="{$field.name}" value="{$field.value|htmlspecialchars}"/>
        </switch>
    </div>
</div>